/**
 * Created by 王景华 on 2020/12/27 9:27 下午.
 */
#include <stdio.h>
#include <string.h>
#define DENSITY 62.4;
int main(){
    float volume, weight;

    int size, letters;

    char name[6];

    printf("What is your first name\n");
    scanf("%s", name);

    printf("What is your weight in pounds\n");
    scanf("%f", &weight);

    size = sizeof name;
    letters = strlen(name);

    volume = weight/DENSITY;

    printf("Well, %s, your volume is %2.2f cubic feet\n", name, volume);

    printf("Also, your first name has %d letters\n", letters);

    printf("And we have %d bytes to store it\n", size);

    return 0;
}

